
<ion-header>
  <ion-navbar>
    <ion-title>主页</ion-title>
    <ion-buttons start>
     <!--  <button ion-button icon-only (tap)="myInfo()">
        <ion-icon name='contact'></ion-icon>
      </button> -->
    </ion-buttons>
    <ion-buttons end>
    </ion-buttons>
  </ion-navbar>
</ion-header>

<ion-content class="cards-bg">
  <img src="assets/imgs/home-banner.jpg" />
    <div>
      <ion-grid>
        <ion-row>
          <ion-col col-6>今日入库:{{now_in}}</ion-col>
          <ion-col col-6>今日出库:{{now_out}}</ion-col>
        </ion-row>
        <!-- <ion-row>
          <ion-col col-3>今日入库:</ion-col>
          <ion-col col-3>0</ion-col>
          <ion-col col-3>今日出库:</ion-col>
          <ion-col col-3>0</ion-col>
        </ion-row> -->
      </ion-grid>
    </div>

    <div class="home-area">
      <!-- <div style="position: relative">
        <img src="assets/imgs/card-saopaolo.png">
      </div> -->
      <!-- <ion-item>
        <ion-icon name='alarm' item-start style="color: #55acee"></ion-icon>
        待办任务
        <ion-badge item-end>12</ion-badge>
      </ion-item> -->
      <ion-item (tap)="storewarn(($event))">
        <ion-icon name='notifications' item-start style="color: #ce324c"></ion-icon>
        库存预警
        <ion-badge item-end>{{warn_num}}</ion-badge>
      </ion-item>
    </div>
    <div class="home-area">
      <ion-item>
        <ion-grid9  [data]="appMenu" [showTitle]="false"></ion-grid9>
      </ion-item>
    </div>


</ion-content>
